package com.lucas.lai.state.machine.squirrel.sample.one.service;

import com.lucas.lai.state.machine.squirrel.sample.one.model.OrderDTO;
import com.lucas.lai.state.machine.squirrel.sample.one.status.OrderState;

/**
 * @author lucas.lai
 * @date 2023/11/10
 */
public interface OrderService {

    int submitOrder(OrderState state);

    void goPay(OrderState toState, OrderDTO orderDTO);
}
